package com.itwang.handler;

import com.itwang.common.Logger;

public class ConsumerException extends RuntimeException {
	public ConsumerException(String message) {
		super(message);
		Logger.error(message);
	}
	public ConsumerException(Exception message) {
		super(message);
		message.printStackTrace();
		Logger.error(message.getMessage());
	}
}
